list_nums = [1, 4, 7, 4, 8, 0, 6]

for r in range(len(list_nums) - 1):
    for c in range(r + 1, len(list_nums)):
        if list_nums[r] < list_nums[c]:
            list_nums[r], list_nums[c] = list_nums[c], list_nums[r]
print(list_nums)
